home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
ezfile20.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-04-20
|
4KB
|
125 lines
echo off
cls
if a%1==a goto nopath
echo off
if exist APPSMENU.TXT goto c1
echo File APPSMENU.TXT not found >>ezerror.lst
:c1
if exist COMLIST.TXT goto c2
echo File COMLIST.TXT not found >>ezerror.lst
:c2
if exist EASYFILE.EXE goto c3
echo File EASYFILE.EXE not found >>ezerror.lst
:c3
if exist EASYFILE.DOC goto c4
echo File EASYFILE.DOC not found >>ezerror.lst
:c4
if exist EZINST.EXE goto c6
echo File EZINST.EXE not found >>ezerror.lst
:c6
if exist EZMENU.EXE goto c7
echo File EZMENU.EXE not found >>ezerror.lst
:c7
if exist GAMEMENU.TXT goto c8
echo File GAMEMENU.TXT not found >>ezerror.lst
:c8
if exist INSTALL.BAT goto c9
echo File INSTALL.BAT not found >>ezerror.lst
:c9
if exist README goto c10
echo File README not found >>ezerror.lst
:c10
if exist REGISTER.TXT goto c11
echo File REGISTER.TXT not found >>ezerror.lst
:c11
if exist ZIPCOM.TXT goto c12
echo File ZIPCOM.TXT not found >>ezerror.lst
:c12
if not exist ezerror.lst goto filesfound
echo >>ezerror.lst
echo ╔══════════════════════════════════╗ >>ezerror.lst
echo ║ EASYFILE documentation and ║ >>ezerror.lst
echo ║ program files must be in the ║ >>ezerror.lst
echo ║ current directory for INSTALL ║ >>ezerror.lst
echo ║ to work. ║ >>ezerror.lst
echo ╚══════════════════════════════════╝ >>ezerror.lst
echo >>ezerror.lst
:filesfound
if not exist %1 goto goodpath
echo >>ezerror.lst
echo ╔══════════════════════════════════╗ >>ezerror.lst
echo ║ ║ >>ezerror.lst
echo ║ Bad subdirectory specification. ║ >>ezerror.lst
echo ║ ║ >>ezerror.lst
echo ║ Please try again. ║ >>ezerror.lst
echo ║ ║ >>ezerror.lst
echo ╚══════════════════════════════════╝ >>ezerror.lst
echo >>ezerror.lst
:goodpath
if not exist ezerror.lst goto install
type ezerror.lst
del ezerror.lst
goto end
:install
md %1
cls
echo
echo
echo
echo
echo
echo
echo
echo ╔═══════════════════════════════╗
echo ║ ║
echo ║ Installing EASYFILE... ║
echo ║ ║
echo ║ Please Wait ║
echo ║ ║
echo ║ Copying files ║
echo ║ ║
echo ╚═══════════════════════════════╝
echo
copy APPSMENU.TXT %1
copy COMLIST.TXT %1
copy EASYFILE.EXE %1
copy EASYFILE.DOC %1
copy EZINST.EXE %1
copy EZMENU.EXE %1
copy EZMONO.CFG %1
copy GAMEMENU.TXT %1
copy INSTALL.BAT %1
copy README %1
copy REGISTER.TXT %1
copy ZIPCOM.TXT %1
echo
echo Files copied to directory %1
echo This directory should be placed in the DOS PATH.
echo
echo Remember, the included program EZINST.EXE may be used to configure the
echo operation of EASYFILE.
echo
goto end
:nopath
cls
echo
echo
echo
echo
echo
echo ╔══════════════════════════════════╗
echo ║ ║
echo ║ Please specify a subdirectory, ║
echo ║ ║
echo ║ on the INSTALL command line, ║
echo ║ ║
echo ║ in which to place the program ║
echo ║ ║
echo ║ files. ║
echo ║ ║
echo ║ ║
echo ║ Example: INSTALL C:\EZFILES ║
echo ║ ║
echo ╚══════════════════════════════════╝
:end